package com.ovopark.organize.server.common.constant;

import java.util.ArrayList;
import java.util.List;


public class SystemEvent  {
	/**心跳消息*/ 
	public static final int TYPE_MSG_HEARTBEAT = 0;
	/**
	 * 信发
	 */
	public static final int TYPE_XIN_FA = 998;
	/**
	 * 信发截屏
	 */
	public static final int TYPE_XIN_FA_PRINT = 994;
	/**
	 * 信发控制app
	 */
	public static final int TYPE_XIN_FA_CONTROL = 993;
	/**
	 * 信发图片
	 */
	public static final int TYPE_XIN_FA_image = 996;
	/**
	 * 信发屏显
	 */
	public static final int TYPE_XIN_FA_SCREEN = 999;
	/**
	 * 推门店
	 */
	public static final int TYPE_GET_DEPID = 995;
	/**
	 * 展会推信发
	 */
	public static final int TYPE_XIN_FA_JIA = 996;
	/**
	 * 智能广告
	 */
	public static final int TYPE_SMART_ADS = 997;
	
	/**收到系统消息*/ 
	public static final int TYPE_MSG_RECEIVE = 1000;

	/**收到待办消息*/
	public static final int TYPE_TODO_MSG_RECEIVE = 1100;
	
	/**下载完成通知*/
	public static final int TYPE_MSG_EXPORTOK = 1001;

	/**广播消息*/ 
	public static final int TYPE_MSG_BROADCAST = 1002;
	
	/**收到系统消息*/ 
	
	/**收银小票信息*/
	public static final int TYPE_MSG_TICKET = 1003;
	
	/**session过期通知*/
	public static final int TYPE_MSG_SESSIONINVALID = 1004;
	
	/**
	 * 通知web前端，消息已读
	 */
	public static final int TYPE_MSG_READED = 1005;
	/**
	 * 通知APP端，消息已处理,可删除
	 */
	public static final int TYPE_MSG_REMOVE = 1006;
	/**
	 * 通知APP端，待办消息已处理,可删除
	 */
	public static final int TYPE_TODO_MSG_REMOVE = 1106;
	/**
	 * 实时客流数据
	 */
	public static final int TYPE_MSG_PASSENGERS = 1007;
	/**
	 * 账号到期
	 */
	public static final int TYPE_MSG_EXPIRED = 1008;
	/**
	 * nvr录像已经上传完毕
	 */
	public static final int TYPE_RECORD_UPLOADREADY = 2000;
	
	/**
	 * nvr播放录像已经全部上传完毕
	 */
	public static final int TYPE_RECORD_UPLOADALL = 2001;
	
	
	/**
	 * nvr录像开始下载
	 */
	public static final int TYPE_RECORD_DOWNLOAD = 2002;
	
	/**
	 * nvr录像下载已经完毕
	 */
	public static final int TYPE_RECORD_DOWNLOADOK = 2003;
	/**
	 * 通知门店过期
	 */
	public static final int TYPE_DEPARTMENT_NOTIFY= 3001;
	/**
	 * ovostation预案下发
	 */
	public static final int TYPE_OVOSTATION_PLAN = 8000;
	/**
	 * 人脸照片信息推送
	 */
	public static final int TYPE_FACE_IMGPUSH = 9000;
	
	public static final int TYPE_CONSOLE = 29;//控制台提醒通知
	
	/**
	 * 缺货信息推送
	 */
	public static final int TYPE_STOCK = 9001;
	  
	/**
	 * 标识该消息是广播还是一对一,0为未知，1为一对1，2为广播
	 */
	private int type;
	
	/**
	 *如果是1对1消息记录
	 *0未被目标获取，1已获取
	 */
	private int status;

	/**
	 * 如果是广播消息
	 * 记录已经获取过该消息的客户端会话
	 */
	private List<String> sessionList = new ArrayList<String>();

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public List<String> getSessionList() {
		return sessionList;
	}

	public void setSessionList(List<String> sessionList) {
		this.sessionList = sessionList;
	}
	
	  
	
}
